Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API-10892 techdebt passport selection fix #468

Closed

Conversation

crolarlibertyva
Copy link
Collaborator

@crolarlibertyva crolarlibertyva commented Sep 5, 2023

Relates to API-10892

  • Address tech debt risk. login.gov is the only idp populated with headers.origin.
  • Replaces a function that won't work for any other IDP

@crolarlibertyva crolarlibertyva marked this pull request as ready for review September 6, 2023 20:42
@crolarlibertyva crolarlibertyva requested a review from a team as a code owner September 6, 2023 20:42
mwise-va
mwise-va previously approved these changes Sep 11, 2023
Copy link
Contributor

@mwise-va mwise-va left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes look good and will support adding new IDP's to saml-proxy in the future. It was a good idea to add the decoding of the SAML response and returning the issuer to the utils.

Unit test and regression test all passed. Also tested a login using the sample app with id.me

src/routes/passport.js Outdated Show resolved Hide resolved
src/routes/passport.js Outdated Show resolved Hide resolved
src/routes/passport.js Outdated Show resolved Hide resolved
src/utils.js Show resolved Hide resolved
Copy link
Collaborator

@johnmweisz johnmweisz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, as this is a core change would like tech lead approval as well.

src/routes/passport.js Show resolved Hide resolved
@crolarlibertyva
Copy link
Collaborator Author

SAML Proxy will be deprecated and replaced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants